package com.ruoyi.base.util;

import com.ruoyi.common.utils.ip.IpUtils;

import java.io.File;
import java.util.Properties;

/**
 * @program: RuoYi-Vue-master
 * @description:
 * @author: lin chong
 * @create: 2022-09-11 17:31
 */
public class SystemInfo {
    public static String getSeparator(){
        Properties props = System.getProperties();
        String property = props.getProperty("os.name");
        if ("Windows Server 2016".equals(property)){
            return "/";
        }
        return File.separator;
    }
}
